#pragma once

#include <string>
#include <vector>
#include <sstream>

class ResultGraphTableNode {

private:
	std::string mSynonymName;
	int mValue;
	std::string mNodeIdentifier;
public:
	ResultGraphTableNode(void);
	ResultGraphTableNode(const std::string &synonymName);
	ResultGraphTableNode(const std::string &synonymName, int value);
	~ResultGraphTableNode(void);

	const std::string& getSynonymName() const;
	int getNodeValue() const;
	const std::string& getNodeIdentifier() const;

	static std::string getNodeIdentifier(const std::string& synonymName, int nodeValue) {
		std::ostringstream ss;
		ss << nodeValue << synonymName;
		return ss.str();
	}
};

